package com.alks.function.service.pcfactoryquery;

import com.alks.entity.data.entity.PcCuttingLsPart;
import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.request.factoryquery.CuttingPartRequest;
import com.alks.function.data.request.factoryquery.CuttingPartSpRequest;
import com.alks.function.data.request.factoryquery.LotStyleRerquest;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 冲裁出入库表 服务类
 * </p>
 *
 * @author ms
 * @since 2023-08-07
 */
public interface IPcCuttingLsPartService extends IService<PcCuttingLsPart> {

    ResponseInfo queryCuttingPartLsDetail(CuttingPartRequest request);

    ResponseInfo queryCuttingPartLsLot(LotStyleRerquest request);

    Map<String, Object> queryCuttingPartLs(String lotNo);

    ResponseInfo queryCuttingPartSpHead(CuttingPartSpRequest request);

    ResponseInfo queryCuttingPartSpDetail(String lotNo);

    ResponseInfo queryCuttingPartBack();

    /**
     * 部位已制明细-条件查询
     *
     * @param lotNo       指令
     * @param processCode
     * @param sizeNo
     * @param spFlag
     * @return 部位制程明细数据
     */
    ResponseInfo queryCuttingGropByPart(String lotNo, String processCode, String sizeNo, Integer spFlag);
}
